<?php
if (!is_null($model)) :
    if ($model->isNewRecord) :
?>
        <h1>Create New Administrator</h1>
<?php
    else :
?>
        <h1>Update Administrator <?php echo $model->username; ?></h1>
<?php
    endif;
    echo $this->renderPartial('_admin_user_form', array('model' => $model));
else :
?>
    <p>This user is not found.</p>
<?php
endif;
?>   